﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using Emz.Core.Models.Enums;


namespace Emz.Core.Models
{
    public class EmployeeAdjustment:EntityBase<int>
    {
        public double Debit { get; set; }
        public double Credit { get; set; }
        public int EmployeeId { get; set; }
        public int? PayDateId { get; set; }
        public int AdjustmentTypeId { get; set; }
        public bool IsValid { get; set; }
        public DateTime? DateAdded { get; set; }

        #region Reference
        public virtual Employee Employee { get; set; }        
        public virtual PayrollDate PayDate { get; set; }
        public virtual Adjustment AdjustmentType { get; set; }
        #endregion
    }
}
